.PHONY:all
all : tcpserver tcpclient


LDFLAG=#-DSelfDefine=1

tcpserver:TcpServerMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14 -lpthread -ljsoncpp

tcpclient:TcpClientMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f tcpserver tcpclient
